<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <!-- 
            富文本渲染。 纯文本
         -->
       <div v-html="msg"></div>
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.14/vue.js"></script> 
    <script>
        new Vue({
            el: "#app",
            data: {
                msg: "<h1>helloworld</h1>"
            }
        })
    </script>
</body>
</html>